package com.sunlee.common.service.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.sunlee.common.core.dao.BaseDao;
import com.sunlee.common.service.dto.CategoryDTO;
import com.sunlee.common.service.entity.ThirdCategoryMappingEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 三方分类映射表
 *
 * @author sunlee
 * @date 2023-03-09
 */
@Mapper
public interface ThirdCategoryMappingDao extends BaseDao<ThirdCategoryMappingEntity> {

    IPage<CategoryDTO> pageRelatedByCid(@Param("page") IPage<ThirdCategoryMappingEntity> page, @Param("tcId") long tcId);
}
